package com.cheng.mybatis.service;

import java.util.List;

import com.cheng.mybatis.domain.Book;
import com.cheng.mybatis.domain.Bookdetailed;

public interface BookService {

	// 获取所有书籍

	public List<Book> showAll();

	// 根据商品名去寻找
	public List<Book> serachByName(String bname);

	// 添加shu
	public List<Book> addBook(Book book, Bookdetailed bookdetailed);

	// delete
	public List<Book> deleteBook(String number);

	// findBookByNumber.action

	public Book serachByNumber(String number);

	public Bookdetailed serachByNumber2(String number);

	public List<Book> updateBook(Book book);

}
